package com.schoolMall.dao;

import com.schoolMall.domain.ProductImg;

import java.util.List;

/**
 * @author:zyh
 * @Time:2021-09-01-9:21
 * @email:1269231889@qq.com
 */
public interface ProductImgDao {
    /**
     * 批量插入图片
     * @param productImgList
     * @return
     */
    int batchInsertImg(List<ProductImg> productImgList);

    int deleteProductImgByProductId(long productId);

    List<ProductImg> queryProductImgList(long productId);
}
